package com.jjy.pojo;

import java.math.BigDecimal;
import java.sql.Timestamp;

public class Order {
    private Long id;
    private Long number;
    private String status;
    private String remark;
    private Long goodsNumber;
    private Double goodsPrice;
    private Double orderPrice;
    private Double weight;
    private Timestamp createTime;
    private Timestamp updateTime;
    /*Mysql 与 java 的时间类型
    MySql的时间类型有 Java中与之对应的时间类型
    date                 java.sql.Date
    Datetime          java.sql.Timestamp
    Timestamp       java.sql.Timestamp
    Time                 java.sql.Time
    Year                 java.sql.Date */

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getNumber() {
        return number;
    }

    public void setNumber(Long number) {
        this.number = number;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getGoodsNumber() {
        return goodsNumber;
    }

    public void setGoodsNumber(Long goodsNumber) {
        this.goodsNumber = goodsNumber;
    }

    public Double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public Double getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(Double orderPrice) {
        this.orderPrice = orderPrice;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }
}
